.class Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;
.super Ljava/lang/Object;
.source "ImageSwitcherActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/ImageSwitcherActivity;->setListener()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    .line 1079
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .parameter "v"

    .prologue
    .line 1083
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$31(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    .line 1084
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$31(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/TextView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1085
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$95(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0200c3

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 1090
    :goto_0
    return-void

    .line 1087
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$31(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/TextView;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1088
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$95(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$23;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-virtual {v1}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020047

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0
.end method
